package com.hyts.mvc.bean;

import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

import javax.servlet.Servlet;
import java.util.Map;

/**
 * project-name:coffice-toolbox
 * package-name:com.hyts.mvc.bean
 * author:Libo/Alex
 * create-date:2019-07-02 21:24
 * email:liboware@gmail.com
 * description:此类主要用于: servlet register bean 对象
 */

@Builder
public class ServletRegistrationBean {

    @Getter
    @Setter
    private String servletName;

    @Getter
    @Setter
    private Class<? extends Servlet> servletClass;

    @Getter
    @Setter
    private int loadOnStartup;

    @Getter
    @Setter
    private boolean async;

    @Getter
    @Setter
    private Map<String,String> initParameters;

    @Getter
    @Setter
    private String[] urlPaths;

}
